package com.vf.admin.miaodong.service;

import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.entity.AppMingXiZuanShi;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @author anxiang
 * @version 1.0.0
 * @ClassName AfterMingXiZuanShiService.java
 * @Description 钻石明细记录
 * @createTime 2021年11月02日 12:38:00
 */
public interface AfterMingXiZuanShiService {

    /**
     * 新增或更新
     * @param appMingXiZuanShi
     */
    public void saveOrUpdate(AppMingXiZuanShi appMingXiZuanShi);

    /**
     * 综合查询
     * @param paramap
     * @param splitPageBean
     * @return
             */
    public List<AppMingXiZuanShi> findList(Map<String, Object> paramap, SplitPageBean splitPageBean);

    public List<AppMingXiZuanShi> findTeamList(Map<String, Object> paramap, SplitPageBean splitPageBean);

    public Map<String, Object> findTeamListSum(Map<String, Object> paramap);


    /**
     * 添加明细
     * @param userid userid
     * @param num 数量
     * @param leixing 类型  1增加  2减少
     * @param beizhu  备注
     */
    public void addMingxi(Integer userid, BigDecimal num, Integer leixing, String beizhu);

}